__/table/row/column:qualifier?v=number_of_versions__ Multi-Get a specified number of versions of a given cell. Values are Base-64 encoded.
```bash
curl -vi -X GET \
-H "Accept: text/xml" \
"http://example.com:20550/users/row1/cf:a?v=2"
Endpoints for Scan Operations
Endpoint HTTP Verb Description Example /table/scanner/ PUT Get a Scanner object. Required by all other Scan operations. Adjust the batch parameter to the number of rows the scan should return in a batch. See the next example for adding filters to your Scanner. The scanner endpoint URL is returned as the Location in the HTTP response. The other examples in this table assume that the Scanner endpoint ishttp://example.com:20550/users/scanner/145869072824375522207.
1
2
3
4
5
6
7
curl -vi -X PUT \
-H "Accept: text/xml" \
-H "Content-Type: text/xml" \
-d '<Scanner batch="1"/>' \
"http://example.com:20550/users/scanner/"
```
__/table/scanner/__ PUT To supply filters to the Scanner object or configure the Scanner in any other way, you can create a text file and add your filter to the file. For example, to return only rows forwhich keys start with u123and use a batch size of 100:
{ “type”: “PrefixFilter”, “value”: “u123” }
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Pass the file to the -d argument of the curl request.
```bash
curl -vi -X PUT \
-H "Accept: text/xml" \
-H "Content-Type:text/xml" \
-d @filter.txt \
"http://example.com:20550/users/scanner/"
```
__/table/scanner/scanner_id__ GET Get the next batch from the scanner. Cell values are byte-encoded. If the scanner is exhausted, HTTP status 204 is returned.
Endpoint HTTP Verb Description Example /table/row_key/ PUT Write a row to a table. The row, column qualifier, and value must each be Base-64 encoded. To encode a string, you can use the base64command-line utility. To decode the string, usebase64 -d. The payload is in the –data argument, so the/users/fakerowvalue is a placeholder. Insert multiple rows by adding them to theelement. You can also save the data to be inserted to a file and pass it to the -dparameter with the syntax -d @filename.txt. XML: